<%@ tag language="java" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@ include file="/WEB-INF/views/include/jbox.jsp"%>
<%@ attribute name="content" type="java.lang.String" required="true" description="消息内容"%>
<%@ attribute name="type" type="java.lang.String" required="true" description="消息类型：info、success、warning、error、loading"%>
<script type="text/javascript">
	$.jBox.closeTip();
</script>
<c:if test="${not empty content}">
	<script type="text/javascript">
		if (!$.jBox.tip.mess) {
			$.jBox.tip.mess = 1;
			$.jBox.tip("${content}", "${type}", {
				persistent : true,
				opacity : 0,
				timeout : 1000
			});
		}
	</script>
</c:if>